package com.li.configserve.domain.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2021/2/28
 * @Version：1.0.0
 */
@Component
@ConfigurationProperties(prefix = "spring.elasticsearch")
public class EsProperties {

    private String host;

    private String port;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
}
